import Vue from 'vue'
import App from './components/App.vue'
import VueRouter from 'vue-router';
import router from './router.js'
import './globalConfig.js'


Vue.use(VueRouter);
import VuePreview from 'vue-preview'
 
import store from './store.js'

// defalut install
// Vue.use(VuePreview)

Vue.use(VuePreview, {
  mainClass: 'pswp--minimal--dark',
  barsSize: {top: 0, bottom: 0},
  captionEl: false,
  fullscreenEl: false,
  shareEl: false,
  bgOpacity: 0.85,
  tapToClose: true,
  tapToToggleControls: false
})
// Vue.prototype.$http = axios

const vm=new Vue({
  el:'#app',
  render:c=>c(App),
  router:router,
  store
})

